package com.gc.server.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;


/**
 * 绘本实体
 * 表名 book
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Oct 27 10:38:33 CST 2020
 */
@Setter
@Getter
public class BookEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
        //作者
    private String author;
        //文件名
    private String fileName;
        //标题
    private String title;
        //简介
    private String content;
        //投票数
    private Integer ticket;
        //IMG-封面
    private String img;
        //分类
    private Integer type;
        //上传时间
    private Date time;
        //起止时间
    Date[] times;
        //ENUM-状态:"DOWN-下架","UP-上架"
    private Integer status;
    
    public BookEntity(){

    }

}
